<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .box{
       /*.关于字体的属性 
       口font 属性可以用来作为 font-style, font-variant, font-weight, font-size, line-height 和 font-family 属性的简写 
       font-style font-variant font-weight font-size/line-height font-family */
        /* font-size: 30px;
        font-weight: 700;
        font-variant: small-caps;
        font-style: italic;
        font-family: serif;
        line-height: 30px; */
        /*缩写属性*/
        font: italic small-caps 700 30px/30px serif;
    }
</style>
<body>
    <div class="box">
        我是一个div元素
    </div>
</body>
</html>